import java.util.Arrays;

public class Test {
    public static void main1(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {3,5,7,4,1,2,8,6};
        sortReview.insertSort(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main2(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {3,5,7,4,1,2,8,6};
        sortReview.selectSort1(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main3(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {3,5,7,4,1,2,8,6};
        sortReview.selectSort2(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main4(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {3,5,7,4,1,2,8,6};
        sortReview.heapSort(array);
        System.out.println(Arrays.toString(array));
    }

    public static void main5(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {3,5,7,4,1,2,8,6};
        sortReview.quickSort(array,0,array.length-1);
        System.out.println(Arrays.toString(array));
    }

    public static void main6(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {3,5,7,4,1,2,8,6};
        sortReview.quickSort2(array,0,array.length-1);
        System.out.println(Arrays.toString(array));
    }

    public static void main7(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {6,1,2,7,9,3,4,5,10,8};
        sortReview.quickSort4(array,0,array.length-1);
        System.out.println(Arrays.toString(array));
    }

    public static void main8(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {6,1,2,7,9,3,4,5,10,8};
        sortReview.quickSort5(array,0,array.length-1);
        System.out.println(Arrays.toString(array));
    }

    public static void main(String[] args) {
        SortReview sortReview = new SortReview();
        int[] array = {6,1,2,7,9,3,4,5,10,8};
        sortReview.shellSort(array);
        System.out.println(Arrays.toString(array));
    }
}
